package com.ys.entity.amazonorder;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_BaseinfoSppm", catalog="Id")
public class TbBaseinfoSppm extends BaseEntity<TbBaseinfoSppm> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="NameCn", nameJava="nameCn", typeDataBase="varchar")
	private String nameCn;
	@YsField(nameDataBase="NameEn", nameJava="nameEn", typeDataBase="varchar")
	private String nameEn;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbBaseinfoSppm setId(Long id) {
		this.id = id;
		return this;
	}
	public String getNameCn() {
		return nameCn;
	}
	public TbBaseinfoSppm setNameCn(String nameCn) {
		this.nameCn = nameCn;
		return this;
	}
	public String getNameEn() {
		return nameEn;
	}
	public TbBaseinfoSppm setNameEn(String nameEn) {
		this.nameEn = nameEn;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TbBaseinfoSppm setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbBaseinfoSppm setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbBaseinfoSppm setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbBaseinfoSppm setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbBaseinfoSppm tbBaseinfoSppm(
		String nameCn,
		String nameEn,
		String remark,
		Integer status
			) {
		TbBaseinfoSppm entity = new TbBaseinfoSppm();
		entity.setNameCn(nameCn);
		entity.setNameEn(nameEn);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}